package com.im.service.dto;

import com.im.service.model.EncryptVo;

public class SearchOption extends EncryptVo {

  private Integer pageSize = 10;
  private Integer pageNumber = 1;

  private String orderField;

  private OrderTypeEnum orderDirection;

  public Integer getPageSize() {
    return pageSize;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public Integer getPageNumber() {
    return pageNumber;
  }

  public void setPageNumber(Integer pageNumber) {
    this.pageNumber = pageNumber;
  }

  public String getOrderField() {
    return orderField;
  }

  public void setOrderField(String orderField) {
    this.orderField = orderField;
  }

  public OrderTypeEnum getOrderDirection() {
    return orderDirection;
  }

  public void setOrderDirection(OrderTypeEnum orderDirection) {
    this.orderDirection = orderDirection;
  }

  public enum OrderTypeEnum {
    ASC,
    DESC
  }

}
